<?php

namespace project\memory;

class LearningSubject
{

    public function allSubject(): array
    {
        return [
            ['name' => 'PHP'],
            ['name' => 'MySQL'],
            ['name' => 'Redis'],
            ['name' => 'RabbitMQ'],
        ];
    }

    public function getSubject($id)
    {

    }
}